package com.woniu.adminservice.dao;

import com.woniu.adminservice.entity.Users;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface UsersDao {
    Users queryById(Integer id);

    List<Users> queryAllByLimit(@Param("offset") int offset, @Param("limit") int limit);
    
    List<Users> findAll();

    List<Users> queryAll(Users users);

    int insert(Users users);

    int update(Users users);

    int deleteById(Integer id);

}